package com.somnus.androidkotlindemo.kt

import android.content.Context
import android.support.v4.content.ContextCompat

/**
 * Created by Somnus on 2018/7/9.
 */
fun Context.ktColor(res: Int) = ContextCompat.getColor(this, res)